<?php
/**
 * @user: tom
 * @date: 2021/5/17
 * @createTime: 14:37
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\crm;

use app\BaseController;
use app\admin\model\Worker as WorkerModel;

class Worker extends  BaseController {
    //列表
    public static function WorkerListLogic($key,$domain,$page,$pagesize){
        $dao = new WorkerModel();
        $list = $dao->WorkerListModel($key,$domain,$page,$pagesize);
        return $list;
    }
    //新增
    public static function WorkerAddLogic($info){
        $dao = new WorkerModel();
        $res = $dao->WorkerInsertModel($info);
        return $res;
    }
    //编辑
    public static function WorkerSaveLogic(){
    }
    //禁用
    public static function WorkerDisableEableLogic(){
    }
    //删除
    public static function WorkerDelLogic(){
    }
}
?>